package com.ruoyi.modules.service;

import java.util.List;
import java.util.concurrent.ExecutionException;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.core.domain.Result;
import com.ruoyi.modules.domain.DyAppUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.modules.domain.dto.VideoDataDTO;
import com.ruoyi.modules.domain.vo.DyAppUserDTO;

import javax.servlet.http.HttpServletResponse;

/**
 * 抖音app用户Service接口
 *
 * @author ruoyi
 * @date 2022-01-22
 */
public interface IDyAppUserService  extends IService<DyAppUser> {

    List<DyAppUser> listDyAppUser(Long agentUserId, String appUserNickname, String appUserCode);

    void setDyAppUserDTo(String voucher, DyAppUserDTO dyAppUserDTO);
    DyAppUserDTO getDyAppUserDTo(String voucher);

    VideoDataDTO videoList(String voucher,  DyAppUserDTO dyAppUserDTO, Long cursor);

    Object generalizeData(String voucher) throws ExecutionException, InterruptedException;

}
